A Deferred object with a \code{wait} method that returns the number of objects
found.  Raises exception on error.
